<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<script src="${path}/scripts/verify/yanzheng.js"></script>
<script src="${path}/scripts/verify/yanzheng2.js"></script>
<script src="${path}/scripts/verify/MyJs.js"></script>
<div class="pageHeader">
	 <form onsubmit="return navTabSearch(this);" action="${path }/assetDamange/assetDamangeAction!addAssetDinfo.action"  method="post">
		<jsp:include page="/comon/search.jsp" /> 
	</form>
</div>
 <form name="form1" method="post" action="${path }/assetDamange/assetDamangeAction!saveAssetDinfo.action" onsubmit="return iframeCallback(this, navTabAjaxDone);" id="form1">
	<input type="hidden" name="navTabId" value="${navTabId}"/>
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tbody>
            <tr>
                <td class="td_base" style="height: 25px">
                    <input type="submit" name="SaveBtn" value="保存" onclick="javascript:WebForm_DoPostBackWithOptions
					(new WebForm_PostBackOptions(&quot;SaveBtn&quot;, &quot;&quot;, true, &quot;&quot;, &quot;&quot;, false, false))" id="SaveBtn" accesskey="s" class="mybutton" />            
                    <input type="button" name="BackBtn" value="关闭" class="close" />&nbsp;
                </td>
                <td class="td_base">
                </td>
            </tr>
            <tr>
                <td colspan="2" valign="top" align="center">
                    <table cellspacing="0" cellpadding="0" border="0" width="100%" class="form">
                       
                         <tr>
                                <td class="form-item" style="height: 25; width: 20%">
                                    报废方式： 
                                </td>
                                <td>
                                	<select name="assetDinfo.scrapWay" rel="iselect" class="required" style="width:90%;" loadUrl="${path}/hpin/sysDictType!treeRegion.action?defaultID=10102">
										<option value="${assetDinfo.scrapWay }"></option>
						 			</select>
                                    <!-- <select name="assetDinfo.scrapWay" id="bffs" style="width:90%;">
										<option value=""></option>
										<option value="639">过期</option>
										<option value="640">损坏</option>
										<option value="641">丢失</option>
										<option value="642">捐赠</option>

									</select> -->
                                </td>
                                <td class="form-item" style="width: 20%">
                                报废日期：
                            </td>
                            <td style="width: 30%">
                                 <input name="assetDinfo.time" value="${assetDinfo.time }" type="text" id="bfrq" class="date textInput required valid" readonly="true"  id="bxrq"  style="width:86%;" />
                           		 <a class="inputDateButton" href="javascript:;">选择</a>
                           		 <input type="text" style="display:none" name="assetDinfo.state" value="1010104" />
                            </td>
                            </tr>
                       <tr>
                                <td class="form-item">
                                    备注：
                                </td>
                                <td colspan="3">
                                    <textarea name="assetDinfo.remark" value="${assetDinfo.remark }" rows="2" cols="20" id="bfbz" class="mytextarea" style="width:90%;"></textarea>
                                </td>
                        </tr>
                        <tr>
                        	<jsp:include page="/comon/listAsset.jsp" />
                        </tr>
                    </table>
                </td>
            </tr>
       		
        </tbody>
        
    </table>
    
    <!--隐藏label-->
     
    <div id="ValidationSummary2" style="color:Red;display:none;">

</div>
    <span id="RequiredFieldValidator3" style="color:Red;visibility:hidden;">&nbsp;
    </span>
    <span id="RequiredFieldValidator5" style="color:Red;visibility:hidden;">&nbsp;
    </span>
    <span id="RequiredFieldValidator1" style="color:Red;visibility:hidden;">&nbsp;
    </span>
    <span id="RequiredFieldValidator2" style="color:Red;visibility:hidden;">&nbsp;
    </span>
    <span id="RegularExpressionValidator17" style="color:Red;display:none;"></span>
    <span id="RequiredFieldValidator4" style="color:Red;visibility:hidden;">&nbsp;
    </span>
    
<script type="text/javascript">
	
	var Page_ValidationSummaries =  new Array(document.getElementById("ValidationSummary2"));
	var Page_Validators =  new Array(document.getElementById("RequiredFieldValidator3"), document.getElementById("RequiredFieldValidator5"), document.getElementById("RequiredFieldValidator1"), document.getElementById("RequiredFieldValidator2"), document.getElementById("RegularExpressionValidator17"), document.getElementById("RequiredFieldValidator4"));
	
</script>

<script type="text/javascript">
	
	var ValidationSummary2 = document.all ? document.all["ValidationSummary2"] : document.getElementById("ValidationSummary2");
	ValidationSummary2.showmessagebox = "True";
	ValidationSummary2.showsummary = "False";
	var RequiredFieldValidator3 = document.all ? document.all["RequiredFieldValidator3"] : document.getElementById("RequiredFieldValidator3");
	RequiredFieldValidator3.controltovalidate = "bfrq";
	RequiredFieldValidator3.errormessage = "请选择报废日期";
	RequiredFieldValidator3.evaluationfunction = "RequiredFieldValidatorEvaluateIsValid";
	RequiredFieldValidator3.initialvalue = "";
	var RequiredFieldValidator5 = document.all ? document.all["RequiredFieldValidator5"] : document.getElementById("RequiredFieldValidator5");
	RequiredFieldValidator5.controltovalidate = "bffs";
	RequiredFieldValidator5.errormessage = "请选择报废方式";
	RequiredFieldValidator5.evaluationfunction = "RequiredFieldValidatorEvaluateIsValid";
	RequiredFieldValidator5.initialvalue = "";
	
	var RequiredFieldValidator4 = document.all ? document.all["RequiredFieldValidator4"] : document.getElementById("RequiredFieldValidator4");
	RequiredFieldValidator4.controltovalidate = "jsr";
	RequiredFieldValidator4.errormessage = "请选择下一步审批人";
	RequiredFieldValidator4.evaluationfunction = "RequiredFieldValidatorEvaluateIsValid";
	RequiredFieldValidator4.initialvalue = "";
	
</script>


<script type="text/javascript">


	var Page_ValidationActive = false;
	if (typeof(ValidatorOnLoad) == "function") {
		ValidatorOnLoad();
	}

	function ValidatorOnSubmit() {
		if (Page_ValidationActive) {
			return ValidatorCommonOnSubmit();
		}
		else {
			return true;
		}
	}
			
</script>

</form>